/* 基础样式（与overview页相同） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei UI', sans-serif;
}

:root {
    --primary: #00f0ff;
    --secondary: #bd00ff;
    --dark-bg: #0a0e17;
    --card-bg: rgba(16, 22, 36, 0.7);
    --text-primary: #e0f7ff;
    --text-secondary: #a0b0c0;
    --success: #00ffa3;
    --warning: #ffcc00;
    --danger: #ff4d6d;
    --east: #00f0ff;
    --central: #bd00ff;
    --west: #ffcc00;
    --northeast: #ff4d6d;
}

body {
    background-color: var(--dark-bg);
    background-image:
            radial-gradient(circle at center, rgba(0, 216, 255, 0.05) 0%, transparent 80%),
            linear-gradient(to bottom, transparent, var(--dark-bg));
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

#app {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部导航样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.logo-icon::after {
    content: "";
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M12,6c1.66,0,3,1.34,3,3s-1.34,3-3,3s-3-1.34-3-3S10.34,6,12,6z M18,18H6v-1c0-2,4-3.1,6-3.1s6,1.1,6,3.1V18z"/></svg>');
    background-size: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-item {
    position: relative;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item.active, .nav-item:hover {
    color: var(--text-primary);
}

.nav-item.active::after, .nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* 卡片样式 */
.dashboard {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 216, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
    var(--primary),
    transparent,
    var(--secondary));
    z-index: -1;
    border-radius: 17px;
    animation: borderAnimation 3s infinite linear;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

/* 图表容器 */
.chart-container {
    height: 500px;
    width: 100%;
}

/* 网格背景 */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(16, 22, 36, 0.3) 1px, transparent 1px),
            linear-gradient(90deg, rgba(16, 22, 36, 0.3) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    pointer-events: none;
}

/* 数据流动画 */
.data-flow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.3;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.7;
    animation: float linear infinite;
}

/* 动画定义 */
@keyframes borderAnimation {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes float {
    to {
        transform: translateY(-100vh);
    }
}

/* 响应式布局 */
.col-12 { grid-column: span 12; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-8 { grid-column: span 8; }

@media (max-width: 1200px) {
    .col-3, .col-4 { grid-column: span 6; }
    .col-6, .col-8 { grid-column: span 12; }
}

@media (max-width: 768px) {
    .col-3, .col-4, .col-6, .col-8 { grid-column: span 12; }
    .nav-menu { gap: 15px; }
    .header { flex-direction: column; gap: 20px; }
}

/* 地区分析页特定样式 */
.card-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
}

.tab-item {
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tab-item.active {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.table-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-input {
    width: 200px;
}

.filter-select {
    width: 120px;
}

.el-table {
    --el-table-header-bg-color: rgba(16, 22, 36, 0.5);
    --el-table-tr-bg-color: rgba(16, 22, 36, 0.3);
    --el-table-border-color: rgba(0, 217, 255, 0.2);
    --el-table-text-color: var(--text-primary);
    --el-table-header-text-color: var(--text-primary);
    --el-table-row-hover-bg-color: rgba(0, 217, 255, 0.1);
}

.el-table .el-table__cell {
    background-color: transparent;
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.el-pagination {
    --el-pagination-bg-color: rgba(16, 22, 36, 0.5);
    --el-pagination-button-bg-color: rgba(16, 22, 36, 0.5);
    --el-pagination-button-color: var(--text-primary);
    --el-pagination-button-disabled-bg-color: rgba(16, 22, 36, 0.3);
    --el-pagination-hover-color: var(--primary);
}

.salary-value {
    color: var(--success);
    font-weight: 500;
}

.trend {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.trend.up {
    background-color: rgba(0, 255, 163, 0.1);
    color: var(--success);
}

.trend.down {
    background-color: rgba(255, 77, 109, 0.1);
    color: var(--danger);
}

.trend-cell {
    display: flex;
    align-items: center;
}

.region-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
}

.region-stat {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid var(--primary);
}

.region-stat:nth-child(2) {
    border-left-color: var(--success);
}

.region-stat:nth-child(3) {
    border-left-color: var(--warning);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-number {
    font-size: 18px;
    font-weight: 500;
}

.stat-change {
    font-size: 12px;
    background: rgba(0, 255, 163, 0.1);
    color: var(--success);
    padding: 2px 8px;
    border-radius: 10px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.el-tag {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--primary);
}